package com.bole.service;

import com.bole.data.Result;
import com.bole.pojo.TbAdminDo;

import java.util.List;

public interface AdminService {
    List<TbAdminDo> getInfo();

    void add(TbAdminDo adminDo, Long rid);

    TbAdminDo getAdminById(Long id);

    void updateById(TbAdminDo admin, Long rid);

    void deleteById(Long id);

    TbAdminDo getInfoByName(String username);
}
